package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.EvaluativeDetailsMapper;
import com.richest.api.service.IEvaluativeDetailsService;
import com.richest.bean.EvaluativeDetailsBean;

/**
 * 企业评价明细信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class EvaluativeDetailsServiceImpl implements IEvaluativeDetailsService {

	@Autowired
	private EvaluativeDetailsMapper mapper;

	@Override
	public Integer evaluativeDetailsAdd(EvaluativeDetailsBean bean) {
		return mapper.evaluativeDetailsAdd(bean);
	}

	@Override
	public Integer evaluativeDetailsUpdate(EvaluativeDetailsBean bean) {
		return mapper.evaluativeDetailsUpdate(bean);
	}

	@Override
	public Integer evaluativeDetailsDelete(Long id) {
		return mapper.evaluativeDetailsDelete(id);
	}

	@Override
	public EvaluativeDetailsBean evaluativeDetailsSelectOne(Long id) {
		return mapper.evaluativeDetailsSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> evaluativeDetailsSelectMap(Map<String, Object> params) {
		return mapper.evaluativeDetailsSelectMap(params);
	}
}
